package file;

import java.io.File;
import java.io.IOException;

public class file01 {
    public static void main(String[] args)  {
        File file = new File("E\\a.txt");
        boolean result = file.delete();
        System.out.println(result);


    }

    private static void methed02() {
        File file = new File("E:\\aaa");
        boolean result = file.mkdir();
        System.out.println(result);
    }

    private static void methd01() throws IOException {
        File file1 = new File("E:\\a.txt");
        boolean result = file1.createNewFile();
        System.out.println(result);
    }
}
